//
//  ChatTextAction.swift
//  IMFrame
//
//  Created by lizhijun on 2023/9/21.
//

import Foundation
struct ChatTextAction: ChatActionProtocol {
    func dispatchEvent(_ evenType: ChatEvenType, _ msgModel: MessageModel) {
        if let textModel = msgModel as? TextMsgModel {
            switch evenType {
            case .CellTapText:
                print("当前点击的文字是" + textModel.title)
            default:
                print("其他的事件忽略")
            }
        }
        
    }
}
